/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-04-28
 * Time:11:16
 */
public class Student extends Person {
    private String className;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void printStudent(){
        System.out.println("className:"+this.className);
        super.printPerson();
    }
    @Override
    public void printPerson() {
        super.printPerson();
    }
}
